package com.huiminpay.merchant.covert;


import com.huiminpay.merchant.dto.AppDTO;
import com.huiminpay.merchant.vo.AppVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AppCovert {

    AppCovert INSTANCE = Mappers.getMapper(AppCovert.class);

    AppVo dto2vo(AppDTO appDTO);

    AppDTO vo2dto(AppVo appVo);

    List<AppVo> dto2voList(List<AppDTO> appDTOS);

    List<AppDTO> vo2dtoList(List<AppVo> appVos);


}
